﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using CashFlow.Web.Def;
using CashFlow.Db.Entity;

namespace CashFlow.Web.Service
{
    public interface IShopUserService : IService<ShopUserEntity>
    {
        IList<UserInfoAndReferenceUserInfo> QueryShopAllUsers(
            int shopManagerUserId
            , int? state);

        IList<UserInfoEntity> QueryShopAllUsers2(
            int shopManagerUserId
            , int? state);

        IList<int> QueryShopAllUserIds(int shopManagerUserId, int? state);

        bool IsUserInShop(int userId, int shopManagerUserId);
    }
}
